package cn.edu.neu.softlab633.influencemaximization.sy.bean;

/**
 * Created by Jason on 2017/5/10.
 */
public class Vertex {
    private int id;
    private Double[] weight;

    public Vertex(int id, Double[] weight) {
        this.id = id;
        this.weight = weight;
    }

    public Vertex() {

    }

    public void setId(int id) {
        this.id = id;
    }

    public void setWeight(Double[] weight) {
        this.weight = weight;
    }

    public int getId() {

        return id;
    }

    public Double[] getWeight() {
        return weight;
    }
}

